package Wormish.agiletre.se;

import android.util.Log;

public abstract class Material {
	
	public Material(){
		
	}
	
	/*
	AIR=0
	SOFT1=1
	SOFT2=2
	GROUND=3
	STONE=4
	FLIPPER=5
	*/
	
	private static float[] normalForces = {0.0f, 0.3f, 0.8f, 1.0f, 1.0f, 1.3f};
	private static boolean[] destructable = {false,true,true,true,false,true};
	private static float[] friction = {0.05f ,0.5f ,0.3f ,0.1f ,0.1f ,0.1f };

	public static float getNF(int i){
		//Log.v("nf", "" + normalForces[i]);
		return normalForces[i];
	}
	
	public static boolean isDestructable(int i){
		return destructable[i];
	}
	
	public static float getFriction(int i){
		return friction[i];
	}
}

